package com.hison.courseselectionsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hison.courseselectionsystem.domain.Course;
import com.hison.courseselectionsystem.utils.Result;

/**
* @author hison
* @description 针对表【course】的数据库操作Service
* @createDate 2023-11-16 21:53:51
*/
public interface CourseService extends IService<Course> {

    Result add(Course course);

    Result delete(Integer id);

    Result update(Course course);

    Result findById(Integer id);

    Result findByName(String name);


    Result getAllCourse();
}
